#User setting
set :application, "linknovel"
set :repository, "https://linknovel.googlecode.com/svn/trunk"
set :svn_username, "234aini"
set :svn_password, "pW7wS4Ws6Ke5"

# If you aren't deploying to /u/apps/#{application} on the target
# servers (which is the default), you can specify the actual location
# via the :deploy_to variable:
set :deploy_to, "/var/www/#{application}"
set :user, "xye"
set :password, "xye123"
set :use_sudo,false  

# If you aren't using Subversion to manage your source code, specify
# your SCM below:
# set :scm, :subversion

role :app, "192.168.1.6"
role :web, "192.168.1.6"
role :db,  "192.168.1.6", :primary => true

task :chmod_spin do
    path = "/var/www/#{application}/current/script/spin"
    run "chmod a+x #{path}"
end